<template>
	<view>
		<view class="address-item">
			<view class="header">
				<text class="name">收货人：{{delivery_item.name}}</text>
				<text class="phone">{{delivery_item.phone}}</text>
			</view>
			<view class="footer">
				<text class="address">收货地址:{{delivery_item.address}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "address-item",
		props: {
			'delivery_item': {
				type: Object,
				default: {}
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.address-item {
		padding: 20rpx 30rpx;
		border-bottom: 1px solid #E5E5E5;

		.header {
			display: flex;
			justify-content: space-between;
			align-items: center;
			font-size: 32rpx;
			font-weight: bold;
		}

		.footer {
			margin-top: 20rpx;
			font-size: 26rpx;
		}
	}
</style>
